package controllers;

import beans.LocalizedBean;
import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class IndexController extends HttpServlet {

    /*
     * HTTP GET Request
     */
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

        LocalizedBean inhoud = new LocalizedBean();
        request.setAttribute("inhoud", inhoud);
        String address = "/index.jsp";
        RequestDispatcher dispatcher = request.getRequestDispatcher(address);
        dispatcher.forward(request, response);
    }
}